28 July 2024
Files can be in one of four states:
Files can be in one of four states:
Files can be in one of four states:
Files can be in one of four states:
This is a once off action (per machine)
Or within R (via the usethis package)
OR via the gert package
Create a file (text, code etc)
Otherwise, create any kind of file (in the folder we just created)
Stage the changes (add)
For example:
Examples
.RData all files ending in .RData.pdf all files ending in .pdfdata/ the entire folder called data[main (root-commit) 667b1ad] Initial commit
1 file changed, 3 insertions(+)
create mode 100644 analysis.R
../resources/git-tikz --git-dir ~/tmp/Test_repo/.git --filename 10_pres_git_Test_repo1.tex
ls -la
cp 10_pres_git_Test_repo1.log ../docs
#mv 10_pres_git_Test_repo1.pdf resources/10_pres_git_Test_repo1.pdftotal 9512
drwxr-xr-x 6 runner docker 4096 Jul 28 05:45 .
drwxr-xr-x 9 runner docker 4096 Jul 28 04:45 ..
-rw-r--r-- 1 runner docker 9539405 Jul 28 05:44 01_introduction.html
-rw-r--r-- 1 runner docker 8475 Jul 27 22:17 01_introduction.qmd
drwxr-xr-x 3 runner docker 4096 Jul 28 05:44 01_introduction_cache
-rw-r--r-- 1 runner docker 52823 Jul 28 04:45 10_pres_git.qmd
-rw-r--r-- 1 runner docker 52953 Jul 28 05:45 10_pres_git.rmarkdown
-rw-r--r-- 1 runner docker 2835 Jul 28 05:45 10_pres_git_Test_repo1.log
-rw-r--r-- 1 runner docker 1435 Jul 28 05:45 10_pres_git_Test_repo1.tex
drwxr-xr-x 3 runner docker 4096 Jul 28 05:45 10_pres_git_cache
drwxr-xr-x 3 runner docker 4096 Jul 28 05:45 10_pres_git_files
-rw-r--r-- 1 runner docker 1396 Jul 27 04:36 Makefile
-rw-r--r-- 1 runner docker 660 Jul 28 05:45 git-draw.dot
-rw-r--r-- 1 runner docker 203 Jul 27 22:17 pres-style.css
drwxr-xr-x 2 runner docker 4096 Jul 28 05:45 resources
-rw-r--r-- 1 runner docker 33651 Jul 28 05:45 tikz6a92cb472a5.log